<div class="boxSearch">
    <div class="headerTitle"><h3>Tìm kiếm</h3></div>
    <div class="searchItem">
        <form method="get" id="frmSearch" name="frmSearch" action="" onsubmit="return actionSearch();">
            <div class="userInput">
            	<div class="half">
            		<label>Tìm theo:</label>
                    <div class="option">
                        <select class="select" name="filter" id="filter">
                            <option value="0">Tất cả</option>
                            {html_options options=$arrFilter selected=$intFilter}                                                        
                        </select>
                    </div>
                </div>
            	<div class="half">
            		<label>Từ khóa:</label>
                	<input type="text" maxlength="50" class="text" name="keyword" id="keyword" value="{$strKeyword|escape}"/>
                </div>
            </div>   
            <div class="userInput">
            	<div class="half">
            		<label>Trong chủ đề:</label>
                    <div class="category">
                        <select id="se_cate" multiple="multiple">
                            {if $arrMenu}
                                {foreach item=sitem from=$arrMenu}
                                	<optgroup label="{$sitem.name}" id="ic_{$sitem.categoryid}">
                                    	{foreach item=ssub from=$sitem.sub}
                                        	<option value="{$ssub.categoryid}" {if isset($arrCate) && $arrCate[$ssub.categoryid]==$ssub.categoryid}selected="selected"{/if}>{$ssub.name}</option>
                                        {/foreach}
                                    </optgroup>
                                {/foreach}
                            {/if}
                        </select>
                    </div>
                </div>
            	<div class="half">
            		<label>Ngày đăng:</label>
                	<input type="text" maxlength="10" class="text sdate" name="startdate" id="startdate" value="{$startdate}"/>
                    <label class="date">-</label>
                    <input type="text" maxlength="10" class="text sdate" name="enddate" id="enddate" value="{$enddate}"/>
                </div>
            </div>   
            <div class="userInput">
            	<input type="submit" class="btn" value="Tìm kiếm" />
            </div>     
        </form>
    </div>
</div>
